Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort leaderboards by context columns #2975

Closed
wants to merge 71 commits into from
Closed

Conversation

bcolloran
Copy link
Contributor

@bcolloran bcolloran commented Aug 24, 2023

Implements sorting by context columns in the leaderboards (adding dimension tables will be a separate PR to reduce the footprint).

@nishantmonu51 and @jkhwu, PR is ready for UX/QA pass. Please note that this PR switches to a new API for retrieving sorted data from the backend, and during development of this functionality I encountered some performance regressions. Those seem to have been fixed on the data sets that I normally use for QA, but it will be worth stress testing leaderboards using a range of datasets -- note that both the rows in the data set and the number of available leaderboards can affect performance.

@AdityaHegde , this continues to build on the last couple PRs of mine that you have reviewed, so I'd love for you to review this as well. I believe Nishant has been eager to get this in (I'll let him speak to the details) so if you can look at it soon that would be great.

render with color and "no data"
@bcolloran bcolloran marked this pull request as ready for review September 13, 2023 00:24
@bcolloran bcolloran changed the title Sort by context columns Sort leaderboards by context columns Sep 13, 2023
@bcolloran
Copy link
Contributor Author

@nishantmonu51 and @jkhwu, I've tried to do a thorough QA on this, but I'm probably at the point of hitting diminishing returns-- I think it's looking pretty good, but I might be too close to it at this point and missing something that would be obvious to someone with fresh eyes and/or a different QA pattern. Also, as mentioned before, trying some other data would be great. I think we're in pretty good shape, but looking forward to your feedback in case I've missed anything! :-)

@bcolloran
Copy link
Contributor Author

(Also @nishantmonu51: if you are able to do QA and don't find any problems and there are no code issues after Aditya's review, feel free to merge during IST)

@nishantmonu51 nishantmonu51 added the blocker A release blocker issue that should be resolved before a new release label Sep 13, 2023
Copy link
Contributor

@ericpgreen2 ericpgreen2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving from a code perspective. Nice to see the new API make the Leaderboard component a little bit simpler.

@bcolloran bcolloran removed the request for review from AdityaHegde September 13, 2023 22:20
@nishantmonu51
Copy link
Collaborator

I tested this out, it seems to be working fine for leaderboards but not working when i expand the dimension tables..
In expanded tables i am unable to sort by the contextual column.
@bcolloran : Is that expected ?

@nishantmonu51 nishantmonu51 removed the blocker A release blocker issue that should be resolved before a new release label Sep 14, 2023
@nishantmonu51
Copy link
Collaborator

Closed in favor of #3089

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants